package com.vegetable.modules.service.outbound;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.common.utils.PageUtils;
import com.vegetable.common.utils.R;
import com.vegetable.modules.entity.outbound.SalesOther;

import java.util.Map;

/**
 * <p>
 * 其他出库表 服务类
 * </p>
 *
 * @author wangruijie
 * @since 2024-04-03
 */
public interface ISalesOtherService extends IService<SalesOther> {

    /**
     * 其他出库列表查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 详情其他出库
     * @param id null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R detailSalesOther(Long id);

    /**
     * 新增其他出库
     * @param salesOther null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R saveSalesOther(SalesOther salesOther) throws Exception;
    
    /**
     * 提交其他出库
     * @param salesOther null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R submitSalesOther(SalesOther salesOther) throws Exception;

    /**
     * 删除其他出库
     * @param id null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R deleteSalesOther(Long id) throws Exception;
}
